package deepr.handler;

import deepr.core.DisposeContext;
import deepr.entity.DeeprInfoResponse;
import deepr.entity.DeeprListResponse;
import deepr.entity.DeeprRequest;
import deepr.exception.DeeprException;

public abstract class BaseSchemaHandler implements SchemaHandler {

  @Override
  public String getTableName(DisposeContext ctx, String name) throws DeeprException {
    return name;
  }

  @Override
  public void beforeListQuery(DisposeContext ctx, DeeprRequest deeprRequest) {

  }

  @Override
  public <T> void afterListQuery(DisposeContext ctx, DeeprListResponse<T> response) {

  }

  @Override
  public void beforeInfoQuery(DisposeContext ctx, DeeprRequest deeprRequest) {

  }

  @Override
  public <T> void afterInfoQuery(DisposeContext ctx, DeeprInfoResponse<T> response) {

  }

}
